package com.yanqu.road.entity.log.cross.xingyou;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_c_log_xing_you_dice", autoSave = true, desc = "行游山水-玩家跳格子", eventName = "mouwater_move", dataUpload = true, uploadCk = true, isCross = true)
public class LogCrossXingYouMove extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "用户ID", isIndex = true)
    private long userId;

    @FieldTypeAnnotation(desc = "活动ID", isIndex = true, dataAttribute = "activityid")
    private int activityId;

    @FieldTypeAnnotation(isIndex = true, desc = "分组id")
    private int groupId;

    @FieldTypeAnnotation(desc = "队伍ID", dataAttribute = "team_id")
    private int teamId;

    @FieldTypeAnnotation(desc = "漂泊队伍ID", dataAttribute = "mouwater_beteam")
    private int driftTeamId;

    @FieldTypeAnnotation(desc = "消耗道具", dataAttribute = "item_use")
    private String useItem = "";

    @FieldTypeAnnotation(desc = "骰子数", dataAttribute = "mouwater_monum")
    private int dice;

    @FieldTypeAnnotation(desc = "角色id", dataAttribute = "mouwater_id")
    private int roleId;

    @FieldTypeAnnotation(desc = "移动起始位置")
    private int startPos;

    @FieldTypeAnnotation(desc = "移动终止位置", dataAttribute = "mouwater_grid")
    private int endPos;

    @FieldTypeAnnotation(desc = "buff", dataAttribute = "buff_id")
    private String buffInfo = "";

    @FieldTypeAnnotation(desc = "buff后", dataAttribute = "seagod_buffadd")
    private String buffInfoNew = "";

    @FieldTypeAnnotation(desc = "事件", dataAttribute = "event_id")
    private String eventList = "";

    @FieldTypeAnnotation(desc = "银票", dataAttribute = "mouwater_silget")
    private int sliverCoin;

    @FieldTypeAnnotation(desc = "金页子", dataAttribute = "mouwater_golget")
    private int goldCoin;

    @FieldTypeAnnotation(desc = "奖励", dataAttribute = "item_get")
    private String reward = "";

    @FieldTypeAnnotation(desc = "时间")
    private Date logTime;

    public LogCrossXingYouMove(long userId, int activityId, int teamId, int driftTeamId) {
        this.userId = userId;
        this.activityId = activityId;
        this.teamId = teamId;
        this.driftTeamId = driftTeamId;
        this.logTime = new Date();
    }

    public LogCrossXingYouMove(long userId, int activityId, int teamId, int driftTeamId, int dice) {
        this.userId = userId;
        this.activityId = activityId;
        this.teamId = teamId;
        this.driftTeamId = driftTeamId;
        this.dice = dice;
        this.logTime = new Date();
    }

    @Override
    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getGroupId() {
        return groupId;
    }

    public void setGroupId(int groupId) {
        this.groupId = groupId;
    }

    public int getTeamId() {
        return teamId;
    }

    public void setTeamId(int teamId) {
        this.teamId = teamId;
    }

    public int getDriftTeamId() {
        return driftTeamId;
    }

    public void setDriftTeamId(int driftTeamId) {
        this.driftTeamId = driftTeamId;
    }

    public String getUseItem() {
        return useItem;
    }

    public void setUseItem(String useItem) {
        this.useItem = useItem;
    }

    public int getDice() {
        return dice;
    }

    public void setDice(int dice) {
        this.dice = dice;
    }

    public int getRoleId() {
        return roleId;
    }

    public void setRoleId(int roleId) {
        this.roleId = roleId;
    }

    public int getStartPos() {
        return startPos;
    }

    public void setStartPos(int startPos) {
        this.startPos = startPos;
    }

    public int getEndPos() {
        return endPos;
    }

    public void setEndPos(int endPos) {
        this.endPos = endPos;
    }

    public String getBuffInfo() {
        return buffInfo;
    }

    public void setBuffInfo(String buffInfo) {
        this.buffInfo = buffInfo;
    }

    public String getBuffInfoNew() {
        return buffInfoNew;
    }

    public void setBuffInfoNew(String buffInfoNew) {
        this.buffInfoNew = buffInfoNew;
    }

    public String getEventList() {
        return eventList;
    }

    public void setEventList(String eventList) {
        this.eventList = eventList;
    }

    public int getSliverCoin() {
        return sliverCoin;
    }

    public void setSliverCoin(int sliverCoin) {
        this.sliverCoin = sliverCoin;
    }

    public int getGoldCoin() {
        return goldCoin;
    }

    public void setGoldCoin(int goldCoin) {
        this.goldCoin = goldCoin;
    }

    public String getReward() {
        return reward;
    }

    public void setReward(String reward) {
        this.reward = reward;
    }

    public Date getLogTime() {
        return logTime;
    }

    public void setLogTime(Date logTime) {
        this.logTime = logTime;
    }
}
